package com.mooc.mymooc.pojo;

import java.util.Date;
import java.util.List;

/**
 * 课程章节信息
 */
public class Lesson {
    private Integer id;
    private String name;
    private Date add_time;
    private Course course;
    private List<CourseVideo> videoList;//外键，属于哪个课程

    public List<CourseVideo> getVideoList() {
        return videoList;
    }

    public void setVideoList(List<CourseVideo> videoList) {
        this.videoList = videoList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getAdd_time() {
        return add_time;
    }

    public void setAdd_time(Date add_time) {
        this.add_time = add_time;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }
}
